package com.pig4cloud.pig.facility.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pig4cloud.pig.facility.feign.entity.Facility;
import com.pig4cloud.pig.facility.mapper.FacilityMapper;
import com.pig4cloud.pig.facility.service.FacilityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FacilityServiceImpl extends ServiceImpl<FacilityMapper, Facility> implements FacilityService {

	@Autowired
	private FacilityMapper facilityMapper;

	@Override
	public Facility checkFacilityName(Facility facility) {
		return facilityMapper.checkFacilityName(facility);
	}
}
